class View2 extends View{

    addChild(node: laya.display.Node): laya.display.Node{
        super.addChild(node);
        (node as any).scale(UIManager.ui_scale, UIManager.ui_scale);
        return node;
    }

    addChildAt(node: laya.display.Node, index: number): laya.display.Node{
        super.addChildAt(node,index);
        (node as any).scale(UIManager.ui_scale, UIManager.ui_scale);
        return node;
    }
}